  <? if (isset($error_warning) AND $error_warning) { ?>
  <div class="warning"><?=$error_warning?></div>
  <? } ?>
  <? if (isset($errors) AND $errors) { ?>
  <div class="errors">
    <ul>
    <? foreach ($errors as $error) { ?>
      <li><?=$error?></li>
    <? } ?>
    </ul>
  </div>
  <? } ?>
  <? if (isset($success) AND $success) { ?>
  <div class="success"><?=$success?></div>
  <? } ?>